package com.towery.dbsrcmanager.mybatis.base.dao;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.towery.dbsrcmanager.mybatis.base.entity.TDatabaseVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * Created by User on 2016/12/30.
 */
public interface TDatabaseDAO extends BaseMapper<TDatabaseVO> {
    /*根节点数据库列表*/
    public List<Map<String,Object>> getDatabaseTreeList()  throws Exception;


    public List<Map<String,Object>> getObjectTreeList(@Param("databaseid") String databaseid ,@Param("type")  String type ,@Param("scema")  String scema)  throws Exception;

    public List<Map<String,Object>> getScemaList(@Param("databaseid") String databaseid) throws Exception;
 }
